<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<!--通用head-->
<head th:fragment="head">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link type="text/css" rel="stylesheet" th:href="@{/asserts/css/style_admin.css}" />
    <!-- BootStrapCss -->
    <link rel="stylesheet" th:href="@{/asserts/css/bootstrap.min.css}">
    <script type="text/javascript" th:src="@{/asserts/js/jquery-3.5.1.js}"></script>
    <script type="text/javascript" th:src="@{/asserts/js/menu.js}"></script>
</head>

<!--管理界面通用顶栏-->
<div id="header" th:fragment="top_menu">
    <div class="logo"><a class="text-white" th:href="@{/admin/main}">皎骥旅游后台系统</a></div>
    <div class="navigation">
        <ul>
            <li>欢迎您！</li>
            <li th:text="${'管理员:'+session.loginUser.getAccountUsername()}">管理员</li>
            <li><a th:href="@{/admin/logout}" class="btn-sm btn-warning text-dark">注销</a></li>
        </ul>
    </div>
</div>

<!--管理界面侧边栏-->
<div class="left_menu" th:fragment="left_menu">
        <ul id="nav_dot">
            <li>
                <h4 class="M1"><span></span>游客登记</h4>
                <div class="list-item none">
                    <a th:href="@{/admin/toTouristAdd}">游客登记</a>
                </div>
            </li>

            <li>
                <h4 class="M1"><span></span>游客管理</h4>
                <div class="list-item none">
                    <a th:href="@{/admin/toTouristQuery}">游客查询</a>
                    <a th:href="@{/admin/toTouristList}">游客管理</a>
                </div>
            </li>

            <li>
                <h4 class="M2"><span></span>景点信息</h4>
                <div class="list-item none">
                    <a th:href="@{/admin/toAttractionsAdd}">添加景点</a>
                    <a th:href="@{/admin/toAttractionsQuery}">查询景点</a>
                    <a th:href="@{/admin/toAttractionsList}">景点管理</a>
                </div>
            </li>

            <li>
                <h4 class="M3"><span></span>用户信息</h4>
                <div class="list-item none">
                    <a th:href="@{/admin/toAccountList}">用户账号管理</a>
                </div>
            </li>

            <li>
                <h4 class="M4"><span></span>评论管理</h4>
                <div class="list-item none">
                    <a th:href='@{/toCommentsList}'>评论一览</a>
                    <a th:href='@{/toCommentsDelete}'>评论删除</a>
                </div>
            </li>

            <li>
                <h4  class="M10"><span></span>系统管理</h4>
                <div class="list-item none">
                    <a th:href="@{/admin/toUpdatePassword}">修改密码</a>
                    <a th:href="@{/admin/logout}">退出系统</a>
                </div>
            </li>
        </ul>
    </div>

<div th:fragment="footer">
<div id="footer"><p>Copyright © JIAOJI 皎骥旅游网| 苏ICP 备1201101** 号| 旅行社经营许可证：L-YC-BK12345</p></div>
<script>navList(12);</script>
</div>

</html>
